<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

/*Route::get('/', function () {
    return view('welcome');
});*/

Route::any('/', ['uses' => 'LoginController@login']);

Route::group(['prefix'=>'admin'],function(){

	Route::any('login/login', ['uses' => 'LoginController@login']);
	Route::any('login/denglu', ['uses' => 'LoginController@denglu']);
	Route::any('login/captcha/{tmp}', ['uses' => 'LoginController@captcha']);


	Route::any('index/index', ['uses' => 'IndexController@index']);

	Route::any('user/index', ['uses' => 'UserController@index']);



});